#ifndef LOGGER_H_
#define LOGGER_H_

#include <iostream>
#include <fstream>
using std::string;
using std::ofstream;

#define LOGGER_FILE_NAME "TpTaller/logs/errores.txt"

class Logger
{
private:
	ofstream* streamLogger;
	bool loggerActive;
	// hidden constructor and destructor
	Logger(string filename);
	virtual ~Logger();
public:
	void operator<<(char* str);
	void operator<<(string& str);
	static Logger& getInstance();
};
#endif /* LOGGER_H_ */

